﻿using System.Collections.Generic;

namespace CommonLib
{
    public interface IDbProxy
    {
        void AddArticleDb(WordStatArticle article);
        Dictionary<string, int> GetAllWordsData(int page, int itemOnPages, bool sortByName, string source);
        IDictionary<WordStatArticle, int> GetArticles(string wordText, string currentSource);
        List<string> GetAllSoyurces();
        IEnumerable<ArticleAuthorData> GetAllArticles();
        void DeleteArticle(long articleId);
        bool ContainsArticleWithUrl(string url);
    }
}
